package com.frxuexi.mymvi

import com.frxuexi.mymvi.entity.Record

sealed class NewsState {
    data class onSuccess(val data:List<Record>):NewsState()
    data class onError(val msg:String):NewsState()
    data object onLoading:NewsState()
}